package com.rongxun.hbwallet.model.bean;

import java.io.Serializable;

/**
 * 创建者     庄丰泽
 * 创建时间   2018/8/9 10:03
 * 描述
 */
public class User implements Serializable {

    /**
     * userInfo : {"id":15,"username":null,"mobile":"13798464182","email":null,"country":"中国","language":null,"icon":null,"regtime":"2018-08-17T06:08:50.907+0000","enabled":true,"lastPasswordResetDate":"2018-08-17T06:08:50.907+0000"}
     * token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMzc5ODQ2NDE4MiIsImV4cCI6MTUzNTA5MDkzMCwiaWF0IjoxNTM0NDg2MTMwfQ.oJAJ8o4VhRf3KvccDvnr7-t93E_69PYywKdFo0Hzu2VPyv1aAEpGA1zuevdjrKBfei49jpQzEzEqFHIjUAXqjA
     */

    private UserInfoBean userInfo;
    private String token;

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static class UserInfoBean implements Serializable{
        /**
         * id : 15
         * username : null
         * mobile : 13798464182
         * email : null
         * country : 中国
         * language : null
         * icon : null
         * regtime : 2018-08-17T06:08:50.907+0000
         * enabled : true
         * lastPasswordResetDate : 2018-08-17T06:08:50.907+0000
         */

        private String id;
        private String  username;
        private String  mobile;
        private String  email;
        private String  country;
        private String  language;
        private String  icon;
        private String  regtime;
        private boolean enabled;
        private String  lastPasswordResetDate;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getLanguage() {
            return language;
        }

        public void setLanguage(String language) {
            this.language = language;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public String getRegtime() {
            return regtime;
        }

        public void setRegtime(String regtime) {
            this.regtime = regtime;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public String getLastPasswordResetDate() {
            return lastPasswordResetDate;
        }

        public void setLastPasswordResetDate(String lastPasswordResetDate) {
            this.lastPasswordResetDate = lastPasswordResetDate;
        }
    }
}
